package cn.getech.data.metadata.service.impl;

import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import cn.getech.data.metadata.mapper.CollectionSystemStorageDayMapper;
import cn.getech.data.metadata.entity.CollectionSystemStorageDayEntity;
import cn.getech.data.metadata.service.CollectionSystemStorageDayService;

import java.util.HashMap;
import java.util.Map;


@Service("collectionSystemStorageDayService")
public class CollectionSystemStorageDayServiceImpl extends ServiceImpl<CollectionSystemStorageDayMapper, CollectionSystemStorageDayEntity> implements CollectionSystemStorageDayService {


    @Override
    public int getCountBy(Integer tableId) {
        Map<String,Object> params = new HashMap<>();
        params.put("tableId", tableId);
        return baseMapper.getCountBy(params);
    }
}
